#ifndef EDITORVIEW_H
#define EDITORVIEW_H

#include "appGlobals.h"
class Document;
namespace Modes { class ObjectEditorMode; }

class EditorView : public QWidget
{
    Q_OBJECT
public:
    explicit EditorView(Modes::ObjectEditorMode& objectEditorMode, QWidget *parent = 0);

    void paintEvent(QPaintEvent *);
private:
	Modes::ObjectEditorMode& m_objectEditorMode;
signals:

public slots:
	void onDocumentChanged(QPointer<Document> doc);
};

#endif // EDITORVIEW_H
